/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.Expression;

/**
 *
 * @author WIN7
 */
public class Comparison {
    String StrComparison;
    String compress = ">=<";
    public Comparison(String _strCompa)
    {
        StrComparison = _strCompa;
        
    }
    public Boolean Excute()
    {
        int type = FindType();
        String[] TwoExp =  StrComparison.split(String.valueOf(compress.charAt(type)));
        
        switch(type)
        {
            case 0:
                break;
            case 1:
                break;
            case 2:
                break;
        }
        return Boolean.TRUE;
    }

    private int FindType() {
        
        for(int i = 0;i<compress.length();i++)
        {
            int index = StrComparison.indexOf(compress.charAt(i));
            if(index >=0 )
            {
               return i;
               
            }
        }
        return -1;
    }
}
